package org.csu.pojo;

import org.springframework.stereotype.Component;

/**
 * 用户实体类，封装用户相关数据
 * @author Mr li
 * @data 2025.11.15
 * */

public class User1 {
    private int id;
    public String name;
    private String password;

    public User1(int id, String name, String password){
        this.id = id;
        this.name = name;
        this.password = password;
    }

    @Override
    public String toString() {
        return "User1{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}